<?
define('BASE_PATH', dirname(__FILE__).'/');
$config['home_url'] = 'http://'.$_SERVER['HTTP_HOST'];

<{Begin}>
$config['list_per_page']     = {{numvideos}}; // Could allow this to be changed
$config['user_uploaded_list_per_page']  = 3;
$config['user_favorites_list_per_page'] = 3;

$config['adsense_id'] = '{{adsenseid}}';

$config['your_link'] = '{{yourlink}}';
$config['link_text'] = '{{linktext}}';

$config['aff_id'] = '{{affid}}';

$config['video_order'] = '{{orderby}}';
//	viewCount - to order videos by the number of times they've been viewed
//	rating    - to order videos by rating
//	relevance - to order videos by relevance
//      updated   - newest videos
$config['website_url']       = '{{path}}';	// with slash - Change this in install
<{End}>
$config['xml_cache_enable']  = 0;
$config['xml_cache_dir']     = BASE_PATH . "cache_xml/";			// with slash 
$config['xml_cache_timeout'] = mktime() + 3600 * 24;

$config['active_template']   = "default";

$major_badwords = array ("sex","penis","fuck","porn","nude","cunt","clit");
$badword_list = array("sex","dick","slut","whore","prostitute","pussy","pron","pr0n","nude");

// ################# DO NOT EDIT HERE #########################################


include_once BASE_PATH . "keywords.php";

include_once BASE_PATH . "lib/smarty/Smarty.class.php";
include_once BASE_PATH . "lib/functions.php";
include_once BASE_PATH . "lib/template.php";
include_once BASE_PATH . "lib/xml2array.php";
include_once BASE_PATH . "lib/services.php";

include_once BASE_PATH . "kw.php";

$tpl = new Template;

error_reporting(E_ERROR | E_PARSE);


?>